/**************************************
*       Class URLReader
***************************************/
import java.net.*;
import java.io.*;

public class URLReader {
  public static void main (String args[]) {
    try {
      URL besti = new URL("http://www.besti.edu.cn");
      
      BufferedReader in = new BufferedReader( new InputStreamReader( besti.openStream() ) );

      String line;

      while( (line = in.readLine()) != null ) {
        System.out.println(line);
      }

      in.close();
    } 
    catch(Exception e){
      System.out.println(e);
    }
  }
}